<template>
  <section>
    <el-tabs v-model="tabName">
      <el-tab-pane label="活动分享" name="share">活动分享
        <share-list v-if="tabName === 'share'"></share-list>
      </el-tab-pane>
      <el-tab-pane label="活动访问" name="access">活动访问</el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import shareList from './shareList'
  export default {
    components:{shareList},
    name: "index",
    data(){
      return{
        tabName:'share'
      }
    }
  }
</script>

<style scoped>

</style>
